package com.smarthealthcare.patient.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.smarthealthcare.domain.Register;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;
import com.smarthealthcare.ward.domain.Ward;

/**
 * 病房列表对象 beinhospital
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Beinhospital extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 患者id 关联预约表 */
    @Excel(name = "患者id 关联预约表")
    private Long patientId;

    /** 病房id 关联病房表 */
    @Excel(name = "病房id 关联病房表")
    private Long wardId;

    /** 住院时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "住院时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 入院病因 */
    @Excel(name = "入院病因")
    private String disease;

    /** 逻辑删除 */
    private Long del;

    private Ward ward;
    private Register register;


}
